package com.yun.index.controller;

import com.yun.common.annotation.AnonymousAccess;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Slf4j
@Controller
public class IndexController {

    @AnonymousAccess
    @GetMapping("/")
    public String index() {
        System.out.println("====================indexController");
        return "index";
    }
}